package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2019-01-16
 */
@TableName("t_fenxiao_fan")
public class FenxiaoFan extends Model<FenxiaoFan> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 会员级别
     */
	private Integer hytype;
	private Integer mlevel;
	private String mname;

	private Integer thytype;
	private Integer tlevel;
	private String tname;

    /**
     * 一级返佣
     */
	private BigDecimal fan1;
    /**
     * 一级消费返点
     */
	private Double xffan1;
    /**
     * 二级返点
     */
	private BigDecimal fan2;
    /**
     * 二级消费返点
     */
	private Double xffan2;
    /**
     * 三级返点
     */
	private BigDecimal fan3;
    /**
     * 三级消费返点
     */
	private Double xffan3;
    /**
     * 四级返点
     */
	private BigDecimal fan4;
    /**
     * 四级消费返点
     */
	private Double xffan4;
    /**
     * 五级返点
     */
	private BigDecimal fan5;
    /**
     * 五级消费返点
     */
	private Double xffan5;
    /**
     * 六级返点
     */
	private BigDecimal fan6;
    /**
     * 六级消费返点
     */
	private Double xffan6;
    /**
     * 七级返点
     */
	private BigDecimal fan7;
    /**
     * 七级消费返点
     */
	private Double xffan7;

	private Double txfeilv;

	private Double shoufan1;
	private Double shoufan2;
	private Double shoufan3;
	private Double shoufan4;
	private Double shoufan5;
	private Double shoufan6;
	private Double shoufan7;

    /**
     * 启用状态
     */
	@TableField("is_jiandian")
	private Integer isJiandian;

	private Integer state;
	private Long uid;
	private Long mid;
	private Long mpid;
	private Date createtime;
	private Long modifier;
	private Date modifytime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getMlevel() {
		return mlevel;
	}

	public void setMlevel(Integer mlevel) {
		this.mlevel = mlevel;
	}

	public Integer getHytype() {
		return hytype;
	}

	public void setHytype(Integer hytype) {
		this.hytype = hytype;
	}

	public Integer getThytype() {
		return thytype;
	}

	public void setThytype(Integer thytype) {
		this.thytype = thytype;
	}

	public Integer getTlevel() {
		return tlevel;
	}

	public void setTlevel(Integer tlevel) {
		this.tlevel = tlevel;
	}

	public String getTname() {
		return tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	public BigDecimal getFan1() {
		return fan1;
	}

	public void setFan1(BigDecimal fan1) {
		this.fan1 = fan1;
	}

	public Double getXffan1() {
		return xffan1;
	}

	public void setXffan1(Double xffan1) {
		this.xffan1 = xffan1;
	}

	public BigDecimal getFan2() {
		return fan2;
	}

	public void setFan2(BigDecimal fan2) {
		this.fan2 = fan2;
	}

	public Double getXffan2() {
		return xffan2;
	}

	public void setXffan2(Double xffan2) {
		this.xffan2 = xffan2;
	}

	public BigDecimal getFan3() {
		return fan3;
	}

	public void setFan3(BigDecimal fan3) {
		this.fan3 = fan3;
	}

	public Double getXffan3() {
		return xffan3;
	}

	public void setXffan3(Double xffan3) {
		this.xffan3 = xffan3;
	}

	public BigDecimal getFan4() {
		return fan4;
	}

	public void setFan4(BigDecimal fan4) {
		this.fan4 = fan4;
	}

	public Double getXffan4() {
		return xffan4;
	}

	public void setXffan4(Double xffan4) {
		this.xffan4 = xffan4;
	}

	public BigDecimal getFan5() {
		return fan5;
	}

	public void setFan5(BigDecimal fan5) {
		this.fan5 = fan5;
	}

	public Double getXffan5() {
		return xffan5;
	}

	public void setXffan5(Double xffan5) {
		this.xffan5 = xffan5;
	}

	public BigDecimal getFan6() {
		return fan6;
	}

	public void setFan6(BigDecimal fan6) {
		this.fan6 = fan6;
	}

	public Double getXffan6() {
		return xffan6;
	}

	public void setXffan6(Double xffan6) {
		this.xffan6 = xffan6;
	}

	public BigDecimal getFan7() {
		return fan7;
	}

	public void setFan7(BigDecimal fan7) {
		this.fan7 = fan7;
	}

	public Double getXffan7() {
		return xffan7;
	}

	public void setXffan7(Double xffan7) {
		this.xffan7 = xffan7;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public Integer getIsJiandian() {
		return isJiandian;
	}

	public void setIsJiandian(Integer isJiandian) {
		this.isJiandian = isJiandian;
	}

	public Double getTxfeilv() {
		return txfeilv;
	}

	public void setTxfeilv(Double txfeilv) {
		this.txfeilv = txfeilv;
	}

	public Double getShoufan1() {
		return shoufan1;
	}

	public void setShoufan1(Double shoufan1) {
		this.shoufan1 = shoufan1;
	}

	public Double getShoufan2() {
		return shoufan2;
	}

	public void setShoufan2(Double shoufan2) {
		this.shoufan2 = shoufan2;
	}

	public Double getShoufan3() {
		return shoufan3;
	}

	public void setShoufan3(Double shoufan3) {
		this.shoufan3 = shoufan3;
	}

	public Double getShoufan4() {
		return shoufan4;
	}

	public void setShoufan4(Double shoufan4) {
		this.shoufan4 = shoufan4;
	}

	public Double getShoufan5() {
		return shoufan5;
	}

	public void setShoufan5(Double shoufan5) {
		this.shoufan5 = shoufan5;
	}

	public Double getShoufan6() {
		return shoufan6;
	}

	public void setShoufan6(Double shoufan6) {
		this.shoufan6 = shoufan6;
	}

	public Double getShoufan7() {
		return shoufan7;
	}

	public void setShoufan7(Double shoufan7) {
		this.shoufan7 = shoufan7;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "FenxiaoFan{" +
			"id=" + id +
			", mlevel=" + mlevel +
			", fan1=" + fan1 +
			", xffan1=" + xffan1 +
			", fan2=" + fan2 +
			", xffan2=" + xffan2 +
			", fan3=" + fan3 +
			", xffan3=" + xffan3 +
			", fan4=" + fan4 +
			", xffan4=" + xffan4 +
			", fan5=" + fan5 +
			", xffan5=" + xffan5 +
			", fan6=" + fan6 +
			", xffan6=" + xffan6 +
			", fan7=" + fan7 +
			", xffan7=" + xffan7 +
			", state=" + state +
			", mid=" + mid +
			", mpid=" + mpid +
			", createtime=" + createtime +
			", modifier=" + modifier +
			", modifytime=" + modifytime +
			"}";
	}
}
